package com.study.util.desensitization;

public class Symbol {
	/**
	 * 脱敏符号
	 */
	public static final String STAR = "*";

	private Symbol() {

	}

	public static String getSymbol(int number, String symbol) {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < number; i++) {
			sb.append(symbol);
		}
		return sb.toString();
	}
}
